package com.student.liu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.student.liu.entity.OrderformDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 订单Mapper
 */
@Mapper
public interface IOrderformDetailMapper extends BaseMapper<OrderformDetail> {

    @Select("SELECT * FROM `orderform_detail` WHERE cook_id = #{cookId} and state_id = #{stateId}")
    int task(OrderformDetail orderformDetail);
}
